const state = {
	editWorkFlow: {
		id: '',
		name: '',
		steps: [],
		variables: []
	}
};

const mutations = {
	SET_EDIT_WORK_FLOW(target, flow) {
		target.editWorkFlow.id = flow.id;
		target.editWorkFlow.name = flow.name;
		target.editWorkFlow.steps = flow.steps;
		target.editWorkFlow.variables = flow.variables;
	}
};

export default {
	// namespaced: true,
	state,
	mutations
};
